package com.hxd.otc.module.convenience.bean;

import com.hxd.otc.common.enums.PhoneLocationEnum;

import java.io.Serializable;

/**
 * Created by lzy on 2018/12/25 0025.
 * description ${电话归属地bean}
 */
public class PhoneLocationBean implements Serializable {

    private String operator;//归属地类型
    private String location;//归属地

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public PhoneLocationEnum getLocationEnum() {
        return PhoneLocationEnum.getInstance(operator);
    }
}
